
package combat.example.protocol.interfaces;

import java.io.Serializable;

import combat.example.protocol.data.DoublePoint;
import combat.example.protocol.types.ProjectileType;


/**
 * @author Laurens Andriessen
 * @version 1.0
 */
public interface ProjectileInt extends PhysicalObjectInt, Serializable {

	DoublePoint source = null;
	public DoublePoint getSource();
	public void setSource(DoublePoint source);

	// if projectileType == GUIDED_MISSILE, update target continuously!
	DoublePoint target = null;
	public DoublePoint getTarget();
	public void setTarget(DoublePoint target);

	double maxDistance = 0.0;
	public double getMaxDistance();
	public void setMaxDistance(double maxDistance);

	ProjectileType projectileType = ProjectileType.UNKNOWN;
	public ProjectileType getProjectileType();
	public void setProjectileType(ProjectileType projectileType);

}
